<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="pt-br" xml:lang="pt-br">
<head>
<base href="{$site->host|cat:$smarty.server.SCRIPT_NAME}" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-language" content="pt-br" />
<meta name="keywords" content="colegiado, automatizacao, matricula, historico" />
<meta name="description" content="MigSys (S2C) - Sistema de automatição do CCECOMP-UEFS" />
<meta name="robots" content="index, follow" />

<link rel="stylesheet" type="text/css" href="{$site->theme_path}stylesheet.css" media="screen" />

<title>{$site->name} &bull; {$site->title}</title>

</head>
<body>
	{load_module name="Menus" url="`$site->relroot_path`includes/menu.php" assign="mod_menu"}
	
	<div id="wrap">
		<div class="headerbar">
			<span class="corners-top" style="background-image: none"><span style="background-image: none"></span></span>
				{*<h1>{$site->name}</h1> <h2>{$site->title}</h2>*}
				<div style="height:80px; float:left; width: 580px;"></div>
			<span class="corners-bottom"><span></span></span>
		</div>
	

		<div id="leftcolumn" class="leftcolumn">
			{if $user->status eq 'online'}{include file="box_menu.html" div_class="usermenubox" ul_id="menu" mod="user_menu"}
			{else}{include file="box_login.html" div_class="loginbox"}{/if}
			{*include file="box_menu.html" div_class="menubox" ul_id="menu" mod="main_menu"*}
			
			{if $user->userlevel eq '2'}{include file="menus/menu_admin.html"}
			{elseif $user->userlevel eq '1'}{include file="menus/menu_prof.html"}
			{elseif $user->userlevel eq '0'}{include file="menus/menu_aluno.html"}{/if}
		</div>


		<div id="maincolumn" class="maincolumn">
			{include file="box_infos.html" div_class="errorsbox"}
			{* include file="box_report.html" div_class="reportbox" *}

			
			{foreach name=pages_loop item=item from=$site->pages}
			<div class="mainbox"><span class="corners-top"><span></span></span>
				<div class="mainbox" id="{$item.name}">
					{include file=$item.page}
				</div>
			<span class="corners-bottom"><span></span></span></div>
			{/foreach}
			
		</div>

		<div id="page-footer">
			{*include file="box_menu.html" div_class="footerbox" ul_id="hmenu" mod="footer_menu"*}
			
			<div class="footerbox"><span class="corners-top"><span></span></span>
			<span>&copy; {$site->name} &bull; Todos os direitos reservados</span>
			<span class="corners-bottom"><span></span></span></div>
		</div>
	</div>
</body>
</html>